package com.assist.utils
{
	public class StringUtil
	{
		public static function replace(source:String, pairs:Object) : String
		{
			var dest:String = source;
			for (var src:String in pairs) {		
				dest = dest.replace(new RegExp(src, "g"), pairs[src]);				
			}
			return dest;			
		}
		
		
	}
}